package Animal;

public class Feeder {
	private String name;
	public Feeder(){
		
	}
	public Feeder(String name){
		this.name=name;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void feedAnimal(Animal ans[]){

		for(int i=0;i<ans.length;i++){
			ans[i].eat();
		}
		
	}
	
}
